﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Users.VO
{
    [AutoMapFrom(typeof(UserPromotion))]
    public class UserPromotionVO:EntityDto<long>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别（男/女）
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// 性别描述
        /// </summary>
        public string GenderView => Gender.GetDescription();
        /// <summary>
        /// 年龄
        /// </summary>
        public string Age { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 工作单位
        /// </summary>
        public string WorkUnit { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public VerifyStatus Status { get; set; }
        /// <summary>
        /// 审核状态描述
        /// </summary>
        public string StatusView => Status.GetDescription();
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

    }
}
